package com.yitong.equipment.ui.adapter

import com.chad.library.adapter.base.BaseMultiItemQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.yitong.equipment.R
import com.yitong.equipment.entity.other.FindMultipleEntity

class FindAdapter(data :MutableList<FindMultipleEntity>): BaseMultiItemQuickAdapter<FindMultipleEntity, BaseViewHolder>(data) {
    init {
        addItemType(FindMultipleEntity.LAYOUT_1, R.layout.item_find_layout1)
        addItemType(FindMultipleEntity.LAYOUT_2, R.layout.item_find_layout1)
        addItemType(FindMultipleEntity.LAYOUT_3, R.layout.item_find_layout1)
        addItemType(FindMultipleEntity.LAYOUT_4, R.layout.item_find_layout1)
    }

    override fun convert(holder: BaseViewHolder, item: FindMultipleEntity) {
        when(item.itemType) {
            FindMultipleEntity.LAYOUT_1->{


            }
            FindMultipleEntity.LAYOUT_2->{

            }

            FindMultipleEntity.LAYOUT_3->{

            }

            FindMultipleEntity.LAYOUT_4->{

            }
        }
    }

}